<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core">
      
      <ui:composition>
     
          <h:inputHidden id="answer_id" value="${answer[id]}"/>
          <h:inputHidden id="question_id" value="${answer[question[id]]}"/>
          
          
          <h:outputLabel for="aChoiceDescription" value="${msg[aChoiceDescription]}"/>
          <h:inputText id="aChoiceDescription" value="${anwser[aChoiceDescription]}" required="true"/>          
          <h:selectBooleanCheckbox id="aChoiceCorrect" value="${anwser[aChoiceCorrect]}" required="true"/>
          <h:message showSummary="true" showDetail="true" for="aChoiceDescription"/>
          <h:message showSummary="true" showDetail="true" for="aChoiceCorrect"/>
          
          <h:outputLabel for="bChoiceDescription" value="${msg[bChoiceDescription]}"/>          
          <h:inputText id="bChoiceDescription" value="${anwser[bChoiceDescription]}" required="true"/>
          <h:selectBooleanCheckbox id="bChoiceCorrect" value="${anwser[bChoiceCorrect]}" required="true"/>
          <h:message showSummary="true" showDetail="true" for="bChoiceDescription"/>
          <h:message showSummary="true" showDetail="true" for="bChoiceCorrect"/>
          
          <h:outputLabel for="cChoiceDescription" value="${msg[cChoiceDescription]}"/>          
          <h:inputText id="cChoiceDescription" value="${anwser[cChoiceDescription]}" required="true"/>
          <h:selectBooleanCheckbox id="cChoiceCorrect" value="${anwser[cChoiceCorrect]}" required="true"/>
          <h:message showSummary="true" showDetail="true" for="cChoiceDescription"/>
          <h:message showSummary="true" showDetail="true" for="cChoiceCorrect"/>
          
          
          <h:outputLabel for="dChoiceDescription" value="${msg[dChoiceDescription]}"/>          
          <h:inputText id="dChoiceDescription" value="${anwser[dChoiceDescription]}" required="true"/>
          <h:selectBooleanCheckbox id="dChoiceCorrect" value="${anwser[dChoiceCorrect]}" required="true"/>
          <h:message showSummary="true" showDetail="true" for="dChoiceDescription"/>
          <h:message showSummary="true" showDetail="true" for="dChoiceCorrect"/>
          
          <h:outputLabel for="eChoiceDescription" value="${msg[eChoiceDescription]}"/>          
          <h:inputText id="eChoiceDescription" value="${anwser[eChoiceDescription]}" required="false"/>
          <h:selectBooleanCheckbox id="eChoiceCorrect" value="${anwser[eChoiceCorrect]}" required="false"/>
          <h:message showSummary="true" showDetail="true" for="eChoiceDescription"/>
          <h:message showSummary="true" showDetail="true" for="eChoiceCorrect"/>
          
          <h:outputLabel for="singleChoice" value="${msg[singleChoice]}"/>          
          <h:selectBooleanCheckbox id="singleChoice" value="${anwser[singleChoice]}" required="true"/>
          <h:message showSummary="true" showDetail="true" for="singleChoice"/>
         
          
      </ui:composition>
     
</html>
